package com.atomone.epublib.contract;

import android.graphics.Bitmap;

import com.atomone.epublib.base.BaseContract;
import com.atomone.epublib.model.CollBookBean;
import com.atomone.epublib.model.EpubChapter;

import java.util.List;

import nl.siegmann.epublib.domain.Book;

/**
 * Created by newbiechen on 17-5-16.
 */

public interface ReadContract {

    interface View extends BaseContract.BaseView {

        void showBookInfo(CollBookBean book, Bitmap bitmap);

    }

    interface Presenter extends BaseContract.BasePresenter<View> {

        void loadChapter(List<EpubChapter> bookChapterList);

        void loadBook(String bookPath);
    }
}
